package io.github.junxworks.qt.modules.mm.service;

import java.util.List;

import io.github.junxworks.qt.modules.mm.dto.MmDatasourceCondition;
import io.github.junxworks.qt.modules.mm.dto.MmDatasourceDto;
import io.github.junxworks.qt.modules.mm.entity.MmDatasource;
import io.github.junxworks.qt.modules.mm.vo.MmDatasourceVo;

public interface DatasourceService {
	List<MmDatasourceVo> queryDatasourceList(MmDatasourceCondition condition);

	MmDatasource queryDatasourceEntityById(Long id);

	MmDatasourceVo queryDatasourceEntityByDsId(String dsId);
	
	void saveDatasource(MmDatasourceDto dsDto);

}
